const express = require('express');
const router = express.Router();

const homeRouter = require('./home');
const postRouter = require('./post');
const usersRouter = require('./users');
const loginRouter = require('./login');
const registerRouter = require('./register');
const commentRouter = require('./comment');
const replyRouter = require('./reply');

router.use('/users', usersRouter);
router.use('/post', postRouter);
router.use('/home', homeRouter);
router.use('/login', loginRouter);
router.use('/register', registerRouter);
router.use('/comment', commentRouter);
router.use('/reply', replyRouter);

module.exports = router;
